You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@betterer/betterer

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betterer/betterer

Main engine for runing betterer tests

2.4.1
Source
npm
Version published
Weekly downloads
97K
-35.34%
Maintainers
1
Weekly downloads
 
Created
Source

Betterer

@betterer/betterer

npm version

JavaScript API for running betterer.

Usage

import { betterer } from '@betterer/betterer';

async function run(): Promise<void> {
  const cwd = process.cwd();
  const configPath = path.resolve(cwd, './.betterer.ts');
  const resultsPath = path.resolve(cwd, './.betterer.results');
  const { worse } = await betterer({ configPath, resultsPath, cwd });
  process.exitcode = worse.length !== 0 ? 1 : 0;
}

FAQs

Package last updated on 01 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts